//
//  LKDayInformationCell.m
//  YLHelper
//
//  Created by she1323 on 2018/4/19.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKDayInformationCell.h"

@interface LKDayInformationCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation LKDayInformationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(LKDayInformationModel *)model{
    _model = model;
    self.contentLabel.text = model.informationTitle;
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ServerlUrl,model.informationImage]] placeholderImage:[UIImage imageNamed:@""]];
    self.timeLabel.text = [[model.entryTime componentsSeparatedByString:@"T"] firstObject];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
